package com.situ.mall.mapper;

import com.situ.mall.pojo.entity.Footprint;
import com.situ.mall.pojo.vo.FootprintVO;

import java.util.List;

public interface FootprintMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Footprint record);

    int insertSelective(Footprint record);

    Footprint selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Footprint record);

    int updateByPrimaryKey(Footprint record);

    Integer selectByProductId(Footprint footprint);

    void deleteTodayFootprints(Footprint footprint);

    List<FootprintVO> listFootprint(Integer userId);
}